﻿namespace EasyWeb.Data
{
    using System;
    using System.Runtime.Serialization;

    [Serializable]
    public class EWDataConcurrencyException : EWDataException
    {
        public EWDataConcurrencyException() : base("There is a database optimistical concurrency error occurred.") { }
        public EWDataConcurrencyException(string message) : base(message) { }
        public EWDataConcurrencyException(string message, Exception inner) : base(message, inner) { }
        protected EWDataConcurrencyException(SerializationInfo info, StreamingContext context)
            : base(info, context) { }
    }
}
